DateTime

Returns the date and time in MM/DD/YYYY hh:mm:ss format based on integers that represent the year, month, day, hour, minute, and second.

Syntax

DateTime(Year, Month, Day, Hour, Minute, Second)

Arguments

Argument Description
Year Year integer.
Month Month integer.
Day Day integer.
Hour Hour integer.
Minute Minute integer.
Second Second integer.

Return value

Value Description
Value Date and time in MM/DD/YYYY hh:mm:ss format.

Example

dateCreated = DateTime(2016, 5, 14, 2, 30, 00)

Window("BugReporter").Editbox("editboxCreatedDate").SetText(dateCreated)